/*
 * package com.gyj.model;
 * 
 * import javax.persistence.Column; import javax.persistence.Entity; import
 * javax.persistence.GeneratedValue; import javax.persistence.GenerationType;
 * import javax.persistence.Id; import javax.persistence.Table; import
 * javax.validation.constraints.NotNull;
 * 
 * import lombok.Data;
 * 
 * @Data
 * 
 * @Entity
 * 
 * @Table(name = "t_pet")
 * 
 * @org.hibernate.annotations.Table(appliesTo = "t_pet", comment = "宠物表") public
 * class Pet {
 * 
 * @Id
 * 
 * @GeneratedValue(strategy = GenerationType.IDENTITY)
 * 
 * @Column(name = "id") private Long id;
 * 
 * @NotNull
 * 
 * @Column(name = "pet_no", columnDefinition =
 * "int(11) default 0 comment '宠物编号'") private Long petNo;
 * 
 * @NotNull
 * 
 * @Column(name = "pet_name", columnDefinition =
 * "varchar(100) default '' comment '宠物姓名'") private String petName;
 * 
 * @NotNull
 * 
 * @Column(name = "color", columnDefinition =
 * "varchar(100) default '' comment '宠物颜色'") private String color;
 * 
 * }
 */